package com.api.finance.bill.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.api.sysmodule.constants.ConstantsUtil;
import com.api.sysmodule.reponse.JsonResult;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.api.finance.bill.service.BillService;

@Controller
@RequestMapping("/bill")
public class SystemBillController {
	public static final Logger log = Logger.getLogger(SystemBillController.class);
	@Autowired
	private BillService billService;
	@ResponseBody
	@RequestMapping(value="/systemBill",method=RequestMethod.POST)
	public JsonResult systemBill(HttpServletRequest request, HttpServletResponse response){
		JsonResult jsonResult = new JsonResult();
		jsonResult.setData("121321");
		jsonResult.setResultCode(JsonResult.SUCCESS_CODE);
		jsonResult.setMessage(ConstantsUtil.RESULT_SUCCESS);
		return jsonResult;
	}
}
